/* 基础样式 */
:root {
    --primary: #2962ff;
    --secondary: #455a64;
    --success: #00c853;
    --danger: #ff1744;
    --warning: #ff9100;
    --info: #00b0ff;
    --light: #f8f9fa;
    --dark: #212121;
    --bg-light: #ffffff;
    --card-light: #f5f5f5;
    --text-light: #333333;
    --border-light: #e0e0e0;
    --header-light: #ffffff;
}

body {
    background-color: var(--bg-light);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* 头部样式 */
header {
    background-color: var(--header-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 2rem;
}

/* 卡片样式 */
.card {
    background-color: var(--card-light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.section-title i {
    color: var(--primary);
}

.section-subtitle {
    color: #777;
    margin-bottom: 25px;
}

/* 交易对表格 */
.trading-pairs {
    width: 100%;
    border-collapse: collapse;
}

.trading-pairs th, .trading-pairs td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.trading-pairs th {
    font-weight: 600;
    color: #777;
}

.trading-pairs tbody tr:hover {
    background-color: rgba(41, 98, 255, 0.05);
}

.price-up {
    color: var(--success);
}

.price-down {
    color: var(--danger);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 8px;
    align-items: center;
}

.page-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    background-color: var(--card-light);
    color: var(--text-light);
    border-radius: 4px;
    cursor: pointer;
}

.page-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 管理按钮 */
.admin-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s;
}

.admin-btn:hover {
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-box {
        width: 100%;
    }
}